package com.manager.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;

import com.manager.pojo.Jdbc;


@Controller
public class FreeMarkerController {
	@Autowired
	 private Jdbc jdbc;

	@RequestMapping("/center")
	public String center(ModelMap map) {
		map.addAttribute("jdbc", jdbc);
		return "freemarker/index";

	}
	
	
}
